assert((crc16("123") == 40116))
assert((crc32("123") == u32(2286445522)))
assert((cksum("123") == u16(65385)))
obj.a = typed_array_create("i8",10)
assert((typed_array_push(obj.a,1,2,3) == 3))
print(crc16(obj.a.data,obj.a.size))
print(crc32(obj.a.data,obj.a.size))
print(cksum(obj.a.data,obj.a.size))
unset("a")
assert(file_write("test.bin","hello",5))
assert(file_exist("test.bin"))
obj.a = file_read_binary("test.bin")
assert((crc16(obj.a) == 13501))
assert((crc32(obj.a) == 907060870))
assert((cksum(obj.a) == 65003))
assert(file_remove("test.bin"))
print(crc32(obj.a))
unset("a")
